package ar.edu.unq.leezsi.utils;

public class Strings {

	public static int getInt(String value) {
		return Integer.parseInt(value);
	}

	public static int getInt(String value, int defaultValue) {
		try {
			return Integer.parseInt(value);
		} catch (Exception e) {
			return defaultValue;
		}
	}

}
